import javax.swing.JButton;

public class HintButton extends JButton{
	
	public HintButton(String text){
		this.setIcon(new javax.swing.ImageIcon("image/hintButton1.jpg"));
		this.setText(text);
		this.setHorizontalTextPosition(javax.swing.SwingConstants.CENTER);
		this.setMargin(new java.awt.Insets(0,0,0,0));
	}
	
	public void updateUsedButton(){
		this.setIcon(new javax.swing.ImageIcon("image/hintButton2.jpg"));
	}
}